#!/bin/sh

echo 'Building window codes...'
pyuic5 ./design/mainWindow.ui -o ./design/mainWindow.py --import-from=resources
pyuic5 ./design/loginWindow.ui -o ./design/loginWindow.py --import-from=resources
pyuic5 ./design/captchaDlg.ui -o ./design/captchaDlg.py --import-from=resources
pyuic5 ./design/personalInfoDlg.ui -o ./design/personalInfoDlg.py --import-from=resources
pyuic5 ./design/signDlg.ui -o ./design/signDlg.py --import-from=resources
pyuic5 ./design/folderNameEditDlg.ui -o ./design/folderNameEditDlg.py --import-from=resources
pyuic5 ./design/shareDlg.ui -o ./design/shareDlg.py --import-from=resources
pyuic5 ./design/settingDlg.ui -o ./design/settingDlg.py --import-from=resources
pyuic5 ./design/uploadDlg.ui -o ./design/uploadDlg.py --import-from=resources
echo 'Window codes done!'

echo 'Building resource codes...'
pyrcc5 ./resources/main.qrc -o ./resources/main_rc.py
echo 'Resource codes done!'

